#include <string>

struct WordCounter
{
    WordCounter(char * s);
    ~WordCounter();
    int wordcount();

private:
    int txtcounter();
    int xmlcounter();
    int counter(std::string s);

    char * myfile;
    int mycount;
};



